home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Applications 2004 April / SGI IRIX 6.5 Applications 2004 April.iso / dist / mozilla.idb / var / netscape / mozilla / chrome / toolkit.jar.z / toolkit.jar / content / global / printjoboptions.xul < prev    next >
Extensible Markup Language  |  2003-11-11  |  3KB  |  109 lines

  1. <?xml version="1.0"?> <!-- -*- Mode: HTML -*- -->
  2.  
  3. <!--
  4. The contents of this file are subject to the Netscape Public
  5. License Version 1.1 (the "License"); you may not use this file
  6. except in compliance with the License. You may obtain a copy of
  7. the License at http://www.mozilla.org/NPL/
  8.  
  9. Software distributed under the License is distributed on an "AS
  10. IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  11. implied. See the License for the specific language governing
  12. rights and limitations under the License.
  13.  
  14. The Original Code is Mozilla Communicator client code, released
  15. March 31, 1998.
  16.  
  17. The Initial Developer of the Original Code is Netscape
  18. Communications Corporation. Portions created by Netscape are
  19. Copyright (C) 1998-1999 Netscape Communications Corporation. All
  20. Rights Reserved.
  21.  
  22. Contributor(s): 
  23.   Masaki Katakai <katakai@japan.sun.com>
  24.   Dan Rosen <dr@netscape.com>
  25.   Roland Mainz <roland.mainz@informatik.med.uni-giessen.de>
  26.   Asko Tontti <atontti@cc.hut.fi>
  27.  
  28. -->
  29.  
  30. <?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
  31. <!DOCTYPE dialog SYSTEM "chrome://global-platform/locale/printjoboptions.dtd">
  32.  
  33. <dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  34.   onload="onLoad();"
  35.   ondialogaccept="return onAccept();"
  36.   title="&printJobOptions.title;"
  37.   persist="screenX screenY"
  38.   screenX="24" screenY="24">
  39.  
  40.   <script type="application/x-javascript" src="chrome://global/content/printjoboptions.js"/>
  41. <script type="application/x-javascript" src="chrome://global/content/strres.js"/>
  42.  
  43.   <grid>
  44.     <columns>
  45.       <column/>
  46.       <column flex="1"/>
  47.     </columns>
  48.  
  49.     <rows>
  50.       <row>
  51.         <hbox align="center" pack="end">
  52.           <label id="paperLabel" value="&paperInput.label;"/>
  53.         </hbox>
  54.         <menulist id="paperList" flex="1">
  55.           <menupopup/>
  56.         </menulist>
  57.       </row>
  58.  
  59.       <row>
  60.         <label id="cmdLabel" value="&cmdInput.label;"/>
  61.         <textbox id="cmdInput" flex="1"/>
  62.       </row>
  63.  
  64.       <row>
  65.         <label value="&colorGroup.label;"/>
  66.         <radiogroup id="colorGroup" orient="horizontal">
  67.           <radio id="grayRadio" label="&grayRadio.label;"/>
  68.           <radio id="colorRadio" label="&colorRadio.label;"/>
  69.         </radiogroup>
  70.       </row>
  71.  
  72.     </rows>
  73.   </grid>
  74.  
  75.   <grid>
  76.     <columns>
  77.       <column/>
  78.     </columns>
  79.     <rows>
  80.       <row>
  81.        <groupbox flex="1">
  82.         <caption label="&edgeMarginInput.label;"/>
  83.         <hbox>
  84.           <hbox align="center">
  85.             <label id="topLabel" control="topInput" value="&topInput.label;"/>
  86.             <textbox id="topInput" style="width:5em;" onkeyup="checkDouble(this, 0.5)"/>
  87.           </hbox>
  88.           <hbox align="center">
  89.             <label id="bottomLabel" control="bottomInput" value="&bottomInput.label;"/>
  90.             <textbox id="bottomInput" style="width:5em;" onkeyup="checkDouble(this, 0.5)"/>
  91.           </hbox>
  92.           <hbox align="center">
  93.             <label id="leftLabel" control="leftInput" value="&leftInput.label;"/>
  94.             <textbox id="leftInput" style="width:5em;" onkeyup="checkDouble(this, 0.5)"/>
  95.           </hbox>
  96.           <hbox align="center">
  97.             <label id="rightLabel" control="rightInput" value="&rightInput.label;"/>
  98.             <textbox id="rightInput" style="width:5em;" onkeyup="checkDouble(this, 0.5)"/>
  99.           </hbox>
  100.         </hbox>
  101.         </groupbox>
  102.       </row>
  103.  
  104.     </rows>
  105.   </grid>
  106.  
  107. </dialog>
  108.  
  109.